package com.itheima.dao.impl;

import com.itheima.dao.TeacherDao;
import com.itheima.pojo.Teacher;

public class TeacherDaoImpl implements TeacherDao {

    private Teacher teacher;

    public TeacherDaoImpl(Teacher teacher) {
        this.teacher = teacher;
    }

    @Override
    public void save() {
        System.out.println("----TeacherDaoImpl---save----");
        System.out.println(teacher);
        System.out.println("----TeacherDaoImpl---save----");
    }
}
